/**
 * Main file
 * Created by ruslan.kovtun on 20.08.2014.
 */
G = {

    map_grid: {
        width: 36,
        height: 24,
        tile: {
            width: 16,
            height: 16
        }
    },

    width: function(){
        return this.map_grid.width * this.map_grid.tile.width;
    },

    height: function(){
        return this.map_grid.height * this.map_grid.tile.height;
    },

    start: function(){
        Crafty.init(G.width(), G.height());
        Crafty.background('#571');
        //Crafty.scene('Loading');
    }
};